package com.gangan.model.view;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ClassName: CmsWishContentView <br/>
 * Description: <br/>
 * date: 2019/10/11 14:29<br/>
 *
 * @author Administrator<br />
 * @since JDK 1.8
 */
@Data
public class CmsWishContentView {
    private Integer id;
    //收藏文章id
    private Integer cmsId;
    //收藏状态，1则收藏，0则取消收藏
    private Integer status;
    //收藏时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd hh:MM:ss")
    private LocalDateTime addtime;

    //文章或者活动标题
    private String titlename;

    //文章或者活动图片
    private String imageurl;
    //收藏类型 0：文章 1： 活动
    private String wishType;

}
